import React from 'react'
import { Swiper, Toast } from 'react-vant'
const colors = ['./aaa1.jpg', './fangjian1.png', './fangjian4.png', './fangjian5.png']

export const items = colors.map((color, index) => (
  <Swiper.Item key={color}>
    <div
      onClick={() => {
        Toast.info(`你点击了卡片 ${index + 1}`)
      }}
    >
      <img src={color}alt=""></img>
    </div>
  </Swiper.Item>
))